package a.f.d;

import a.c.ab;
import a.c.d;
import a.c.m;
import a.c.q;
import a.c.x;

public class w
{
  public static int a;
  
  public static ab a(q paramq, x paramx)
  {
    int j = f.o;
    int i = f.n;
    ab localab = new ab();
    m localm = paramq.w();
    do
    {
      if (!localm.e()) {
        break;
      }
      d locald = localm.a();
      if (j == 0)
      {
        if (paramx.getInt(locald.e()) > paramx.getInt(locald.f()))
        {
          paramq.e(locald);
          localab.c(locald);
        }
        localm.f();
      }
    } while (i == 0);
    return localab;
  }
  
  public void a(q paramq, ab paramab)
  {
    int j = f.o;
    int i = f.n;
    do
    {
      m localm = paramab.l();
      while (i == 0)
      {
        if (!localm.e()) {
          break;
        }
        paramq.e(localm.a());
        localm.f();
      }
    } while (j != 0);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.d.w
 * JD-Core Version:    0.7.0.1
 */